package com.base2.webshop.client.views.widgets;

import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.user.client.ui.Widget;
import com.google.inject.Inject;
import com.gwtplatform.mvp.client.ViewImpl;
import com.base2.webshop.client.presenters.ProductDetailPresenter;

public class ProductDetailPanel extends ViewImpl implements ProductDetailPresenter.IProductDetailView {

	private final Widget widget;
	
	public interface Binder extends UiBinder<Widget, ProductDetailPanel>{
		
	}

	@Inject
	public ProductDetailPanel(Binder binder) {
		widget = binder.createAndBindUi(this);
	}

	@Override
	public Widget asWidget() {
		return widget;
	}

}
